#coding=utf-8
# from handle.login_handle import LoginHandle
import time
from page.login_page import *
from base.base import Test_Api

#
# def jiakao1(self):
#     # 点击驾考宝典
#     print("gggggggggggggggggggggg",jiakao)
#     click_element(jiakao)
class LoginBusiness:
    def __init__(self):
        self.air = Test_Api()
    def jiakao(self):
        # 点击驾考宝典
        self.air.click(jiakao,doc='点击驾考宝典')
        time.sleep(10)
        # # 点击报名菜单
        self.air.click(baoming,doc='点击报名菜单')
        # # 点击报名页输入框
        # sousuokuang.click()
        self.air.click(sousuokuang,doc='点击报名页输入框')
        # # 输入万丰驾校
        # sousuokuang.set_text("万丰")
        self.air.text(sousuokuang,text="万丰",doc='输入万丰驾校')

        # #点击搜索按钮
        # sousuo_anniu.click()
        self.air.click(sousuo_anniu,doc='点击搜索按钮')

